package com.wash.car.web.config;

import com.pmo.boot.swagger.Swagger2ConfigUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.spring.web.plugins.Docket;

@Configuration
public class SwaggerConfig {

    @Bean
    public Docket adminDocket() {
        return Swagger2ConfigUtils.docket("管理端接口文档", "管理端", new String[]{"com.wash.car.web.controller.admin"});
    }


    @Bean
    public Docket appletsDocket() {
        return Swagger2ConfigUtils.docket("小程序接口文档", "小程序", new String[]{"com.wash.car.web.controller.applets"});
    }


}
